package com.hrpmar.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by 李松松 on 2017/11/13.
 * 基于 实体类公共的父类
 */
public class BasePojo {

    private Integer createdBy;                  //创建人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creationDate;                  //创建时间
    private Integer modifyBy;                   //修改人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifyDate;                    //修改时间

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }
}
